<div class="btn-group color-picker" uib-dropdown>
  <button type="button" class="btn btn-default" ng-click="select()" title="{{colorTips || '颜色'}}">
    <i class="fa {{icon}}" ng-style="colorStyle"></i>
  </button>
  <button type="button" class="btn btn-default dropdown-toggle" title="选色板" uib-dropdown-toggle>
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" ng-class="{'dropdown-menu-right': position == 'right'}" uib-dropdown-menu>
    <li>
      <div class="forecolor">
        <color-picker ng-model="$forecolor" options="options.forecolor" event-api="event.forecolor"></color-picker>
      </div>
      <div class="backcolor">
        <color-picker ng-model="$backcolor" options="options.backcolor" event-api="event.backcolor"></color-picker>
      </div>
    </li>
  </ul>
</div>
